package com.bookstore.service.impl;

import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.bookstore.entity.po.BookPO;
import com.bookstore.entity.vo.BookTableVO;
import com.bookstore.mapper.BookMapper;
import com.bookstore.service.BookService;
import org.apache.ibatis.annotations.Mapper;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public class BookServiceImpl extends ServiceImpl<BookMapper, BookPO> implements BookService {

    @Autowired
    BookMapper bookMapper ;
    @Override
    public List<BookTableVO> getList(Integer start, Integer offset) {
        return    bookMapper.getList(start,offset);
    }
}
